<?php

$viewdefs['Documents']['DetailView'] = array(
	'templateMeta' => array(
		'maxColumns' => '2',
		'form' => array(
			'hidden' => array('<input type="hidden" name="old_id" value="{$fields.document_revision_id.value}">')
		), 
		'widths' => array(
			array('label' => '10', 'field' => '30'), 
			array('label' => '10', 'field' => '30')
		),
	),

	'panels' => array (
		'lbl_document_information' => array (
			array (
				array (
					'name' => 'filename',
					'displayParams' => array (
						'link' => 'filename',
						'id' => 'document_revision_id',
					),
				),
				'category_id',
			),
			array (
				'document_name',
				'academic_major',
			),
			array(
				'template_type',
				'academic_minor',
			),
			array (
				'description',
				'latest_rev_for_task',
//				'editor_name',
			),
			array (
				'abstract',
			), 
		),
		'LBL_REVISIONS_PANEL' => array (
			array (
				'last_rev_created_name',
				'last_rev_create_date',
			),
		),
	)
  
);
?>
